package com.xjtu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Past;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 刘集镇医养结合中心入住登记表(Registration)实体类
 *
 * @author makejava
 * @since 2023-11-12 14:25:06
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Registration implements Serializable {
    private static final long serialVersionUID = 121133914263736770L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 档案号 无
     */

    private String fileNumberOne;
    /**
     * 编号 无
     */


    private String fimeNumberTwo;
    /**
     * 老人的id
     */

    private Integer elderId;
    /**
     * 性别
     */


    private String sex;
    /**
     * 婚姻状况
     */


    private String marriage;
    /**
     * 身份证号
     */


    private String idcard;
    /**
     * 照片 无
     */
    private String avater;
    /**
     * 民族
     */


    private String nation;
    /**
     * 年龄
     */


    private Integer age;
    /**
     * 文化程度
     */


    private String education;
    /**
     * 饮食习惯 无
     */
    private String eatinghabits;
    /**
     * 兴趣爱好
     */
    private String hobby;
    /**
     * 医保情况
     */
    private String medicalensurance;
    /**
     * 病史 无
     */
    private String medicalhistroy;
    /**
     * 工作单位 无
     */
    private String company;
    /**
     * 家庭住址 无
     */


    private String address;
    /**
     * 主托养人姓名
     */


    private String mname;
    /**
     * 主托养人关系
     */


    private String mrealationship;
    /**
     * 主托养人身份证号
     */
    private String midcard;
    /**
     * 主托养人工作单位
     */
    private String mcompany;
    /**
     * 主托养人家庭住址
     */
    private String maddress;
    /**
     * 主托养人联系电话
     */
    private String mphonenum;
    /**
     * 副托养人姓名
     */
    private String dname;
    /**
     * 副托养人关系
     */
    private String drelationship;
    /**
     * 副托养人身份证号
     */
    private String didcard;
    /**
     * 副托养人工作单位
     */
    private String dcompany;
    /**
     * 副托养人家庭住址
     */
    private String daddress;
    /**
     * 副托养人联系电话
     */
    private String dphonenum;
    /**
     * 随行物品 无
     */
    private String things;
    /**
     * 备注 无
     */
    private String comments;
    /**
     * 签字 无
     */
    private String sign;
    /**
     * 年月日 无
     */


    private LocalDateTime date;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getFileNumberOne() {
        return fileNumberOne;
    }

    public void setFileNumberOne(String fileNumberOne) {
        this.fileNumberOne = fileNumberOne;
    }

    public String getFimeNumberTwo() {
        return fimeNumberTwo;
    }

    public void setFimeNumberTwo(String fimeNumberTwo) {
        this.fimeNumberTwo = fimeNumberTwo;
    }

    public Integer getElderId() {
        return elderId;
    }

    public void setElderId(Integer elderId) {
        this.elderId = elderId;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getMarriage() {
        return marriage;
    }

    public void setMarriage(String marriage) {
        this.marriage = marriage;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getAvater() {
        return avater;
    }

    public void setAvater(String avater) {
        this.avater = avater;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEatinghabits() {
        return eatinghabits;
    }

    public void setEatinghabits(String eatinghabits) {
        this.eatinghabits = eatinghabits;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getMedicalensurance() {
        return medicalensurance;
    }

    public void setMedicalensurance(String medicalensurance) {
        this.medicalensurance = medicalensurance;
    }

    public String getMedicalhistroy() {
        return medicalhistroy;
    }

    public void setMedicalhistroy(String medicalhistroy) {
        this.medicalhistroy = medicalhistroy;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    public String getMrealationship() {
        return mrealationship;
    }

    public void setMrealationship(String mrealationship) {
        this.mrealationship = mrealationship;
    }

    public String getMidcard() {
        return midcard;
    }

    public void setMidcard(String midcard) {
        this.midcard = midcard;
    }

    public String getMcompany() {
        return mcompany;
    }

    public void setMcompany(String mcompany) {
        this.mcompany = mcompany;
    }

    public String getMaddress() {
        return maddress;
    }

    public void setMaddress(String maddress) {
        this.maddress = maddress;
    }

    public String getMphonenum() {
        return mphonenum;
    }

    public void setMphonenum(String mphonenum) {
        this.mphonenum = mphonenum;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getDrelationship() {
        return drelationship;
    }

    public void setDrelationship(String drelationship) {
        this.drelationship = drelationship;
    }

    public String getDidcard() {
        return didcard;
    }

    public void setDidcard(String didcard) {
        this.didcard = didcard;
    }

    public String getDcompany() {
        return dcompany;
    }

    public void setDcompany(String dcompany) {
        this.dcompany = dcompany;
    }

    public String getDaddress() {
        return daddress;
    }

    public void setDaddress(String daddress) {
        this.daddress = daddress;
    }

    public String getDphonenum() {
        return dphonenum;
    }

    public void setDphonenum(String dphonenum) {
        this.dphonenum = dphonenum;
    }

    public String getThings() {
        return things;
    }

    public void setThings(String things) {
        this.things = things;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public LocalDateTime getDate() {
        return date;
    }

    public void setDate(LocalDateTime date) {
        this.date = date;
    }
}

